﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Asp.netMvc.Models.tblEmp>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Create
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Create</h2>

    <%= Html.ValidationSummary("Create was unsuccessful. Please correct the errors and try again.") %>

    <% using (Html.BeginForm()) {%>

        <fieldset>
            <legend>Fields</legend>
            <p>
                <label for="组织ID">组织ID:</label>
                <%= Html.TextBox("组织ID") %>
                <%= Html.ValidationMessage("组织ID", "*") %>
            </p>
            <p>
                <label for="线路ID">线路ID:</label>
                <%= Html.TextBox("线路ID") %>
                <%= Html.ValidationMessage("线路ID", "*") %>
            </p>
            <p>
                <label for="工号">工号:</label>
                <%= Html.TextBox("工号") %>
                <%= Html.ValidationMessage("工号", "*") %>
            </p>
            <p>
                <label for="姓名">姓名:</label>
                <%= Html.TextBox("姓名") %>
                <%= Html.ValidationMessage("姓名", "*") %>
            </p>
            <p>
                <label for="性别">性别:</label>
                <%= Html.TextBox("性别") %>
                <%= Html.ValidationMessage("性别", "*") %>
            </p>
            <p>
                <label for="角色">角色:</label>
                <%= Html.TextBox("角色") %>
                <%= Html.ValidationMessage("角色", "*") %>
            </p>
            <p>
                <label for="密码">密码:</label>
                <%= Html.TextBox("密码") %>
                <%= Html.ValidationMessage("密码", "*") %>
            </p>
            <p>
                <label for="密码MD5">密码MD5:</label>
                <%= Html.TextBox("密码MD5") %>
                <%= Html.ValidationMessage("密码MD5", "*") %>
            </p>
            <p>
                <label for="IC卡号">IC卡号:</label>
                <%= Html.TextBox("IC卡号") %>
                <%= Html.ValidationMessage("IC卡号", "*") %>
            </p>
            <p>
                <label for="服务证号">服务证号:</label>
                <%= Html.TextBox("服务证号") %>
                <%= Html.ValidationMessage("服务证号", "*") %>
            </p>
            <p>
                <label for="职务">职务:</label>
                <%= Html.TextBox("职务") %>
                <%= Html.ValidationMessage("职务", "*") %>
            </p>
            <p>
                <label for="岗位">岗位:</label>
                <%= Html.TextBox("岗位") %>
                <%= Html.ValidationMessage("岗位", "*") %>
            </p>
            <p>
                <label for="主管">主管:</label>
                <%= Html.TextBox("主管") %>
                <%= Html.ValidationMessage("主管", "*") %>
            </p>
            <p>
                <label for="电话">电话:</label>
                <%= Html.TextBox("电话") %>
                <%= Html.ValidationMessage("电话", "*") %>
            </p>
            <p>
                <label for="移动电话">移动电话:</label>
                <%= Html.TextBox("移动电话") %>
                <%= Html.ValidationMessage("移动电话", "*") %>
            </p>
            <p>
                <label for="登陆工作站">登陆工作站:</label>
                <%= Html.TextBox("登陆工作站") %>
                <%= Html.ValidationMessage("登陆工作站", "*") %>
            </p>
            <p>
                <label for="备注">备注:</label>
                <%= Html.TextBox("备注") %>
                <%= Html.ValidationMessage("备注", "*") %>
            </p>
            <p>
                <input type="submit" value="Create" />
            </p>
        </fieldset>

    <% } %>

    <div>
        <%=Html.ActionLink("返回列表", "Index") %>
    </div>

</asp:Content>

